package com.ruoyi.tjbb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户播放日志报对象 sys_tjbb_yhbfrzbb
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class SysTjbbYhbfrzbb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carId;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String carColor;

    /** 通道 */
    @Excel(name = "通道")
    private String passage;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 用户 */
    @Excel(name = "用户")
    private String tjbbUser;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 时长 */
    @Excel(name = "时长")
    private String duration;

    /** 流量 */
    @Excel(name = "流量")
    private String traffic;

    /** 车组 */
    @Excel(name = "车组")
    private String carGroup;

    /** ID */
    private Long id;

    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setCarColor(String carColor) 
    {
        this.carColor = carColor;
    }

    public String getCarColor() 
    {
        return carColor;
    }
    public void setPassage(String passage) 
    {
        this.passage = passage;
    }

    public String getPassage() 
    {
        return passage;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setTjbbUser(String tjbbUser) 
    {
        this.tjbbUser = tjbbUser;
    }

    public String getTjbbUser() 
    {
        return tjbbUser;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setDuration(String duration) 
    {
        this.duration = duration;
    }

    public String getDuration() 
    {
        return duration;
    }
    public void setTraffic(String traffic) 
    {
        this.traffic = traffic;
    }

    public String getTraffic() 
    {
        return traffic;
    }
    public void setCarGroup(String carGroup) 
    {
        this.carGroup = carGroup;
    }

    public String getCarGroup() 
    {
        return carGroup;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carColor", getCarColor())
            .append("passage", getPassage())
            .append("type", getType())
            .append("tjbbUser", getTjbbUser())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("duration", getDuration())
            .append("traffic", getTraffic())
            .append("carGroup", getCarGroup())
            .append("id", getId())
            .toString();
    }
}
